//
//  BKGDMainViewController.h
//  bestkeep
//
//  Created by 毛韶谦 on 2016/11/10.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import "BKGDBaseViewController.h"

@protocol BKGDMainViewControllerDelegate <NSObject>

-(void)BKGDFooterRefreshing;
-(void)BKGDRequestCompleted;

@end


@interface BKGDMainViewController : BKGDBaseViewController

@property(nonatomic,strong) NSString *goodsId;

/**
 商品详情 开始为nil 访问到数据后自动设置
 */
@property(nonatomic,strong,readonly) BKGDObject *goodsDetail;

@property(nonatomic,assign) UIEdgeInsets contentInsets;
@property(nonatomic,assign) UIEdgeInsets scrollIndicatorInsets;

@property(nonatomic,weak) id<BKGDMainViewControllerDelegate> delegate;

/**
 营销参数
 */
@property(nonatomic,strong) id saleTypes;

/**
 是否囤货预购，此属性决定请求商品详情参数 0=之前老页面 1=囤货预售
 */
@property(nonatomic,assign) NSInteger thnormaltype;

/**
 小店id
 */
@property(nonatomic, copy) NSString *storeId;

/**
 店主账号
 */
@property(nonatomic, copy) NSString *shopKeeper;

-(void)share;

@end
